HYPERFLEET-1182 - test: add nodepool integration tests for placement#208
HYPERFLEET-1182 - test: add nodepool integration tests for placement#208kuudori wants to merge 1 commit into
Conversation
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Central YAML (base), Organization UI (inherited) Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (1)
🔗 Linked repositories identifiedCodeRabbit considers these linked repositories for cross-repo context during reviews:
🚧 Files skipped from review as they are similar to previous changes (1)
📝 WalkthroughSummary by CodeRabbit
WalkthroughThis PR adds four integration tests for nodepool soft-delete semantics in the Hyperfleet API. The changes verify: (1) PATCH operations on soft-deleted nodepools return 409 Conflict; (2) concurrent DELETE operations against the same target maintain idempotent generation and deleted_time values; (3) GET on a soft-deleted nodepool returns 200 OK with deleted_time in the response; (4) LIST by cluster includes both active and soft-deleted entries, with deleted_time set only for the soft-deleted one. A sync import is added to support concurrent test execution. Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes 🚥 Pre-merge checks | ✅ 10 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (10 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
✨ Simplify code
Comment |
Risk Score: 0 —
|
| Signal | Detail | Points |
|---|---|---|
| PR size | 163 lines | +0 |
| Sensitive paths | none | +0 |
Computed by hyperfleet-risk-scorer
e413e05 to
f515b2e
Compare
Add integration tests backfilling coverage before E2E removal: TestNodePoolPatchSoftDeleted, TestNodePoolConcurrentDelete, TestNodePoolGetSoftDeleted, TestNodePoolListIncludesSoftDeleted.
|
/retest |
Add integration tests backfilling coverage before E2E removal: TestNodePoolPatchSoftDeleted, TestNodePoolConcurrentDelete, TestNodePoolGetSoftDeleted, TestNodePoolListIncludesSoftDeleted.
Summary
Test Plan
make test-allpassesmake lintpassesmake test-helm(if applicable)